projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3607a4c
)
dnd: Remove unused colormap code
author
Benjamin Otte
<otte@redhat.com>
Sat, 28 Aug 2010 21:30:39 +0000
(23:30 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:32 +0000
(15:11 +0200)
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 244098d0ba0d92889e4b62ff08163171a141e7dc..4f3c8d62eb6f8625fff15c62d95fde9b0e5b0c47 100644
(file)
--- a/
gtk/gtkdnd.c
+++ b/
gtk/gtkdnd.c
@@
-84,8
+84,6
@@
struct _GtkDragSourceSite
GtkImageIconNameData name;
} icon_data;
- GdkColormap *colormap; /* Colormap for drag icon */
-
/* Stored button press information to detect drag beginning */
gint state;
gint x, y;
@@
-2839,10
+2837,6
@@
gtk_drag_source_unset_icon (GtkDragSourceSite *site)
break;
}
site->icon_type = GTK_IMAGE_EMPTY;
-
- if (site->colormap)
- g_object_unref (site->colormap);
- site->colormap = NULL;
}
/**